package list.homework2;

public class Programmer extends Person {

    @Override
    public void work() {
        System.out.println("工号:"+getId()+","+getName()+"经理"+"底薪"+getPrice());
    }

    public Programmer() {
    }

    public Programmer(String name, String id, int price) {
        super(name, id, price);
    }
}
